package cn.iocoder.yudao.module.wecom.controller.admin.dept.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 企微部门新增/修改 Request VO")
@Data
public class WeDeptSaveReqVO {

    @Schema(description = "企业部门", requiredMode = Schema.RequiredMode.REQUIRED, example = "30059")
    private Long id;

    @Schema(description = "企微部门ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2253")
    @NotNull(message = "企微部门ID不能为空")
    private Integer weDeptId;

    @Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "部门名称不能为空")
    private String weDeptName;

    @Schema(description = "部门负责人")
    private String weDeptLeader;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能为空")
    private Integer sort;

    @Schema(description = "上级ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13229")
    @NotNull(message = "上级ID不能为空")
    private Long parentId;

}